<template>
<div>
    <van-grid  :column-num="channelArr.length" >
        <van-grid-item v-for="item in channelArr" :key="item.id" :icon="item.icon_url" :text="item.name" @click="$router.push('/home/channel')"  />
    </van-grid>
   
</div>
</template>

<script>
export default {
// eslint-disable-next-line vue/multi-word-component-names
name: 'Gird',
data() {
return {

}
},
props:['channelArr'],
components: {

},
methods: {

},
created() {

},
}
</script>

<style scoped>

</style>